package cn.tedu.csmall.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 类别
 *
 * @TableName pms_category
 */
@TableName(value = "pms_category")
@Data
@Accessors(chain = true)
public class Category implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;


    private String name;


    private Long parentId;


    private Integer depth;


    private String keywords;


    private Integer sort;


    private String icon;


    private Integer enable;


    private Integer isParent;

    private Integer isDisplay;


    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;


}